package com.cn.service;

import com.cn.entity.Department;
import com.cn.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.vo.query.DepartmentQueryVo;
import com.cn.vo.query.NewsQueryVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hyz
 * @since 2024-10-28
 */
public interface NewsService extends IService<News> {

    List<News> findNewsList(NewsQueryVo newsQueryVo);

    boolean deleteNewsById(Long id);
}
